package bjut.core.annotation;

import bjut.core.scanner.ZRpcScannerRegistrar;
import org.springframework.context.annotation.Import;
import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: zhuzhiming
 * @Date: 2022/4/6 12:46
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Import({ZRpcScannerRegistrar.class})
public @interface ZRpcScan {
    String[] basePackage() default {};
}
